function loadTypes(){
    $.getJSON("/type/selectAll",function(data){
        $("#type").empty();
        let options = `<option value="0"readonly>请选择房间类型</option>`
        for (let type of data) {
            options += `<option value="${type.id}">${type.tName}</option>`
        }
        $("#type").append(options);
    })
}